package com.alkaid.commons.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * @author Kylin
 * 评论表
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "t_coins")
public class Coins {
    @TableId
    private Long id;
    private Long userId;
    @NotNull(message = "参数不能为空")
    private Integer animeId;
    private Integer coinsRange;
}
